package com.googlecode.fluentregex;


class SingleCharMatcher extends RegularExpressionBuilderBase {

	public SingleCharMatcher charRange(final char from, final char to) {
		tokens.add(from + "-" + to);
		return this;
	}

	public SingleCharMatcher singleChar(final char singleChar) {
		tokens.add(singleChar + "");
		return this;
	}

    public SingleCharMatcher whitespace() {
        tokens.add("\\s");
        return this;
    }

	public SingleCharMatcher anyChar() {
		tokens.add(".");
		return this;
	}
}
